package com.jysz.certificate.persistence.model.cs;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.jysz.webcore.ssh.entity.AbstractBaseEntity;

@Entity
@Table(name = "cs_the_network_list_")
@org.hibernate.annotations.Entity
public class TheNetworkList extends AbstractBaseEntity<Long> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private TheNetwork theNetwork;
	private Long creId;
	private String address;
	private String remark;
	private String theAddress;// 二网地址
	private String motorcycleType;// 车型
	private String chassis;// 车架号
	private String engine;// 发动机号
	private double supplyPrice;// 供货价begin
	private String certificationNum;// 合格证号
	private String shopName;// 回库地址
	private String isNotPass;//是否确认通过
	
	@Column(name = "isNotPass")
	public String getIsNotPass() {
		return isNotPass;
	}
	public void setIsNotPass(String isNotPass) {
		this.isNotPass = isNotPass;
	}
	@Column(name = "_theAddress",columnDefinition="varchar(255)")
	public String getTheAddress() {
		return theAddress;
	}
	public void setTheAddress(String theAddress) {
		this.theAddress = theAddress;
	}
	@Column(name = "_motorcycleType",columnDefinition="varchar(255)")
	public String getMotorcycleType() {
		return motorcycleType;
	}
	public void setMotorcycleType(String motorcycleType) {
		this.motorcycleType = motorcycleType;
	}
	@Column(name = "_chassis",columnDefinition="varchar(255)")
	public String getChassis() {
		return chassis;
	}
	public void setChassis(String chassis) {
		this.chassis = chassis;
	}
	@Column(name = "_engine",columnDefinition="varchar(255)")
	public String getEngine() {
		return engine;
	}
	public void setEngine(String engine) {
		this.engine = engine;
	}
	@Column(name = "_supplyPrice",columnDefinition="numeric(9,2)")
	public double getSupplyPrice() {
		return supplyPrice;
	}
	public void setSupplyPrice(double supplyPrice) {
		this.supplyPrice = supplyPrice;
	}
	@Column(name = "_certificationNum",columnDefinition="varchar(255)")
	public String getCertificationNum() {
		return certificationNum;
	}
	public void setCertificationNum(String certificationNum) {
		this.certificationNum = certificationNum;
	}
	@Column(name = "_shopName",columnDefinition="varchar(255)")
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	@ManyToOne(fetch = FetchType.LAZY)  
	@JoinColumn(name = "_theNetwork_id",columnDefinition="bigint(20)") 
	public TheNetwork getTheNetwork() {
		return theNetwork;
	}
	public void setTheNetwork(TheNetwork theNetwork) {
		this.theNetwork = theNetwork;
	}
	@Column(name = "_certification_id",columnDefinition="bigint(20)")
	public Long getCreId() {
		return creId;
	}
	public void setCreId(Long creId) {
		this.creId = creId;
	}
	@Column(name = "_address",columnDefinition="varchar(255)")
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	@Column(name = "_remark",columnDefinition="varchar(255)")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}
